# 上下文类
from typing import Dict

class RlmContext(object):
    def __init__(self, params:Dict = {}):
        self.name = 'apps.cpm.rlm_context.RlmContext'
        self.role = None
        self.task = None
        self.constraints = None
        self.cot = None
        self.output_format = None
        self.states = {'params': {}}
        self.short_mems = {}
        self.long_mems = {}
        self.examples = None
        self.current_input = None